MongoCursor
PHP Manual

MongoCursor::count

(PECL mongo >=0.9.2)

MongoCursor::countCounts the number of results for this query

Descripción

public int MongoCursor::count ( void )

Lista de parámetros

This function has no parameters.

Valores retornados

The number of documents returned by this cursor's query.


MongoCursor
PHP Manual